<?php $this->pageTitle = $model->name; ?>
<div class="c_body">
	<div class="u_tabs">
		<div class="u_tabs_head ajaxLinks">
			<a class="u_tab " id="u_search_tab1"  href="<?php echo Yii::app()->createUrl("groupsDiscussion/index",array('group'=>$model->group_id)); ?>">Обсуждения</a>
			<div class="u_tab curr" id="u_search_tab2">просмотр обсуждения</div>
		</div>
	</div>
	
	<div class="tab" id="u_search_tab2_">
		<div class="cat_head">
			<div class="cat_head_strip"></div>
			<a href="<?php echo Yii::app()->createUrl("groupsDiscussion/index",array('group'=>$model->group_id)); ?>" class="cat_head_btn_r r_m">
				<div class="cat_head_btn_l">к списку обсуждений</div>
			</a>
			<div class="cat_head_h"><p class="cat_head_h_txt"><span class="also"><?php echo CHtml::encode($model->name); ?></span></p></div>
		</div>	
<!-- Живая лента -->
		<div class="user_block">
			<div class="u_cat_head">
				<i><?php echo CHtml::encode($model->name); ?></i>
				<p><?php echo CHtml::encode($model->user->full_name); ?></p>
			</div>	

			<?php $this->renderPartial('_comments',array(
				'model'	=>	$model,
				'countComments' => $model->countComments,
				'comments'	=> $model->comments,
				'parent_id' => 0,
				'offset' => 10,
				'limit' => 10
			)); ?>

		</div>
<!-- END Живая лента -->
				
	</div>
</div>
